package com.example.mytayunapi.Service;

import com.example.mytayunapi.Entity.adviceInfo;
import com.example.mytayunapi.Entity.userInfo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface adviceInfoService {
    List<adviceInfo> selectAllAdviceInfo();
    List<adviceInfo> selectAllAdviceInfoByAdviceId(Integer Advice_id);
    Integer insertAdviceInfo(adviceInfo adviceInfo);
    Integer deleteAdviceByID(Integer Advice_id);
    PageInfo<adviceInfo> getPageInfo(int pageNum, int pageSize);   //分页

    Integer insertAdviceContent(adviceInfo adviceinfo);

}
